package cn.cloudreal.cbms.unit.service;

import java.util.List;
import java.util.Map;

import cn.cloudreal.cbms.common.util.PageBean;
import cn.cloudreal.cbms.vo.Unit;

public interface UnitService {
	
	public int getUnitsCount(Map condition);
	
	public List<Unit> getUnits(Map condition, PageBean page);
	
	public void deleteUnit(Unit unit);
	
	public Unit detailUnit(Unit unit);
	
	public void modifyUnit(Unit unit);
	
	public void addUnit(Unit unit);
}
